﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Abble5c
{
    class Student
    {
        private static string teaname;
        private string stuname;

        public static string TeaName
        {
            get { return teaname; }
            set { teaname = value; }
        }
        public string StuName
        {
            get { return stuname; }
            set { this.stuname = value; }
        }


        public Student()
        {

        }


        public void msg()
        {
            Console.WriteLine("大家好，我叫{0}，俺老师叫{1}", this.stuname, teaname);
        }
    }
}
